<?php

declare(strict_types=1);

namespace DreamCat\StateMachineTest\Demos;

use DreamCat\StateMachine\Popo\ActionStatus;
use DreamCat\StateMachine\Popo\MachineData;
use DreamCat\StateMachine\StateInterface\ActionStatusQueryInterface;

/**
 * 示例的终止状态查询
 * @author vijay
 */
class StopQuery implements ActionStatusQueryInterface
{
    /**
     * @inheritDoc
     */
    public function transferQueryStatus(MachineData $machineData, string $action): ActionStatus
    {
        return new ActionStatus();
    }
}

# end of file
